import Taro, { Component } from '@tarojs/taro'
import { View,ScrollView } from '@tarojs/components'
import Shops from "./shops/shops";
import Shopsum from "./shopsum/shopsum";
import { getWindowHeight } from '../../utils/common'


import './shopping.less'

class Shopping extends Component {

  config = {
    navigationBarTitleText: '购物车'
  }
  render () {
    const height = getWindowHeight(103);
    return (
      <View className='Shopping'>
        <View className='shop_edit'>编辑商品</View>
        <ScrollView
          scrollY
          style={{ height }}
        >
          <Shops />
        </ScrollView>
         <Shopsum />
      </View>
    )
  }
}

export default Shopping
